﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace z.m.db.Metadata {
	public class MOrder {
		[Display(Name = "Address")]
		[StringLength(200)]
		public string Address { get; set; }

		public Nullable<System.DateTime> Create_Date { get; set; }
		[Display(Name = "ID")]
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int ID { get; set; }

		public string MapLocation { get; set; }

		public string Note { get; set; }

		public Nullable<System.DateTime> Order_DateTime { get; set; }

		public virtual ICollection<Order_Detail> Order_Detail { get; set; }

		public Nullable<System.DateTime> Pay_Date { get; set; }

		public Nullable<System.DateTime> Ship_DateTime { get; set; }
	}
}